package com.tjing.bussiness.controller;

import javax.servlet.http.HttpServletRequest;

import com.tjing.bussiness.excelview.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/public/stat")
public class Excelcontroller {
	@Autowired
	private ExcelDataReport excelDataReport;

	@RequestMapping(value = "/excelDataReport")
	public ModelAndView excelDataReport(ModelMap model, HttpServletRequest request) {
		return new ModelAndView(excelDataReport, model);
	}	

}
